//
//  MoreNewsTableCell.m
//  WDFans
//
//  Created by Zhihong Yuan on 2/9/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import "MoreNewsTableCell.h"
#import "QuartzCore/QuartzCore.h"

const CGFloat kTableCellHeight = 80.f;

@implementation MoreNewsTableCell

@synthesize coverImageView,newsDesLabel,newsDateLabel,newsNameLabel;

- (void)dealloc
{
    [coverImageView release];
    [newsDesLabel release];
    [newsDateLabel release];
    [newsNameLabel release];
    [super dealloc];
}

- (void)awakeFromNib
{
    self.coverImageView.layer.masksToBounds = YES;
    //self.coverImageView.layer.cornerRadius = 10.f;
    self.coverImageView.layer.borderWidth = 1.f;
    self.coverImageView.layer.borderColor = [[UIColor whiteColor] CGColor];
//    self.coverImageView.layer.shadowOpacity = 0.8f;
//    self.coverImageView.layer.shadowOffset = CGSizeMake(-3.f, -3.f);
//    self.coverImageView.layer.shadowColor = [[UIColor redColor] CGColor];
}

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
